Package com.cisco.pt.ipc.sim.impl
Class CryptoMapSetImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.CryptoMapSetImpl
- All Implemented Interfaces:
IPCObject,CryptoMapSet
Information provided by the PKI file:
\class CryptoMapSet
\brief CryptoMapSet holds and manipulates crypto map sets.
\example network().getDevice("Router0").getProcess("IpsecProcess").getCryptoMapSetAt(0)
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionCryptoMapSetImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCryptoMapSeqByNum(int num) Information provided by the PKI file:getCryptoMapSeqAt(int index) Information provided by the PKI file:getCryptoSeqByNum(int seqNum) Information provided by the PKI file:intInformation provided by the PKI file:Information provided by the PKI file:intInformation provided by the PKI file:getTableAtIndex(int index) Information provided by the PKI file:booleanisSeqExisted(int seqNum) Information provided by the PKI file:voidremoveCryptoMapSeqByNum(int num) Information provided by the PKI file:voidsetCryptoSetName(String name) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
CryptoMapSetImpl
public CryptoMapSetImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
setCryptoSetName
Information provided by the PKI file:
\brief Sets the name of this crypto map set. \param string, the name to set on this crypto map set.- Specified by:
setCryptoSetNamein interfaceCryptoMapSet- Parameters:
name- Takes in a parameter of name
-
getCryptoSetName
Information provided by the PKI file:
\brief Returns the name of this crypto map set. \return string, the name of this crypto map set.- Specified by:
getCryptoSetNamein interfaceCryptoMapSet- Returns:
- String Returns a String
-
addCryptoMapSeqByNum
public void addCryptoMapSeqByNum(int num) Information provided by the PKI file:
\brief Adds a crypto map to this crypto map set with the specified sequence number. \param num, the specified sequence number for the crypto map.- Specified by:
addCryptoMapSeqByNumin interfaceCryptoMapSet- Parameters:
num- Takes in a parameter of num
-
removeCryptoMapSeqByNum
public void removeCryptoMapSeqByNum(int num) Information provided by the PKI file:
\brief Removes the crypto map from this crypto map set with the associated sequence number. \param num, the associated sequence number of the crypto map.- Specified by:
removeCryptoMapSeqByNumin interfaceCryptoMapSet- Parameters:
num- Takes in a parameter of num
-
getCryptoMapSeqAt
Information provided by the PKI file:
\brief Returns the crypto map from this crypto map set at the specified index. \param index, the index of the crypto map of interest. \return CryptoMapSeq, the CryptoMapSeq object at the specified index.- Specified by:
getCryptoMapSeqAtin interfaceCryptoMapSet- Parameters:
index- Takes in a parameter of index- Returns:
- CryptoMapSeq Returns a CryptoMapSeq
-
getCryptoSeqByNum
Information provided by the PKI file:
\brief Returns the crypto map from this crypto map set with the associated sequence number. \param seqNum, the sequence number of the crypto map of interest. \return CryptoMapSeq, the CryptoMapSeq object with the associated sequence number.- Specified by:
getCryptoSeqByNumin interfaceCryptoMapSet- Parameters:
seqNum- Takes in a parameter of seqNum- Returns:
- CryptoMapSeq Returns a CryptoMapSeq
-
getCryptoSeqCount
public int getCryptoSeqCount()Information provided by the PKI file:
\brief Returns the number of crypto maps in this crypto map set. \return int, the number of crypto maps in this crypto map set.- Specified by:
getCryptoSeqCountin interfaceCryptoMapSet- Returns:
- int Returns a int
-
isSeqExisted
public boolean isSeqExisted(int seqNum) Information provided by the PKI file:
\brief Returns true if the crypto map with the associated sequence number exists in this crypto map, otherwise false. \param seqNum, the sequence number of the crypto map of interest. \return bool, true if the crypto map with the associated sequence number exists in this crypto map, otherwise false.- Specified by:
isSeqExistedin interfaceCryptoMapSet- Parameters:
seqNum- Takes in a parameter of seqNum- Returns:
- boolean Returns a boolean
-
getFlowTableCount
public int getFlowTableCount()Information provided by the PKI file:
\brief Returns the number of flow tables in this crypto map set. \return int, the number of flow tables in this crypto map set.- Specified by:
getFlowTableCountin interfaceCryptoMapSet- Returns:
- int Returns a int
-
getTableAtIndex
Information provided by the PKI file:
\brief Returns the flow table at the specified index. \param index, the index of the flow table of interest. \return FlowTable, the FlowTable object at the specified index.- Specified by:
getTableAtIndexin interfaceCryptoMapSet- Parameters:
index- Takes in a parameter of index- Returns:
- FlowTable Returns a FlowTable
-